package com.karry.yl.domain.financial;

import com.baomidou.mybatisplus.annotations.TableName;
import com.karry.commons.base.SuperEntity;

import java.math.BigDecimal;

/**
 * 收款项目
 */
@TableName("receipt_items")
public class ReceiptItems extends SuperEntity {
    public static final int TYPE_QT = 2;
    public static final int TYPE_FW = 1;
    public static final int TYPE_TC = 3;

    private Long receiptId; // 收款单Id

    private String name; // 收费项目名称

    private BigDecimal price; // 单价

    private Integer count; //  数量

    private BigDecimal monery; // 收款金额

    private int type;  // 1: 服务收费 2：其它费用

    private Long recordsId;  //服务记录Id

    public ReceiptItems() {
    }

    public ReceiptItems(String name, BigDecimal monery, int type) {
        this.name = name;
        this.price = price;
        this.count = count;
        this.monery = monery;
        this.type = type;
    }

    public Long getReceiptId() {
        return receiptId;
    }

    public void setReceiptId(Long receiptId) {
        this.receiptId = receiptId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public BigDecimal getMonery() {
        return monery;
    }

    public void setMonery(BigDecimal monery) {
        this.monery = monery;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public Long getRecordsId() {
        return recordsId;
    }

    public void setRecordsId(Long recordsId) {
        this.recordsId = recordsId;
    }
}
